//
//  newsModal.m
//  movie
//
//  Created by 李丹阳 on 15/7/21.
//  Copyright (c) 2015年 李丹阳. All rights reserved.
//

#import "newsModal.h"

@implementation newsModal
- (NSString *)description{
    NSString* str = [NSString stringWithFormat:@"title = %@, summary = %@",self.title,self.summary];
    return str;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.newsId = [value integerValue];
    }
}
@end
